package com.boot2.core.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @description : 腾讯COS配置
 * @author : zouzhiyong
 * @date : 2019/5/23 15:35
 */
@Configuration
@ConfigurationProperties(prefix = "upload.tencent")
@Component
@Data
public class TencentProperties {
    /**
     * SecretId,
     */
    protected String accessKeyId;

    /**
     * SecretKey
     */
    protected String accessKeySecret;

    /**
     * bucket 所属区域
     */
    protected String bucket;

    /**
     * bucketName 存储桶名称
     */
    protected String bucketName;
}
